fix max scrollbar in json editor

Andrew Cantino 12 years ago
parent
commit
d3f0cea86f

+ 0 - 34
vendor/assets/stylesheets/jquery.json-editor.css

@@ -1,34 +0,0 @@
1
-.json-editor {
2
-  background-color: #FFF;
3
-  position: relative; }
4
-  .json-editor .builder {
5
-    background-color: white;
6
-    overflow: auto;
7
-    font-size: 0.9em; }
8
-    .json-editor .builder .key {
9
-      font-weight: bold; }
10
-      .json-editor .builder .key .edit_field {
11
-        width: 80px; }
12
-    .json-editor .builder .val .edit_field {
13
-      width: 180px; }
14
-  .json-editor blockquote {
15
-    margin: 0;
16
-    padding: 0;
17
-    clear: both;
18
-    padding-left: 7px; }
19
-  .json-editor div {
20
-    background-color: #cfc;
21
-    margin: 1px;
22
-    padding: 2px; }
23
-  .json-editor .val {
24
-    font-style: italic; }
25
-  .json-editor .key a, .json-editor .val a {
26
-    color: black;
27
-    text-decoration: none; }
28
-  .json-editor .icon {
29
-    display: block;
30
-    float: right;
31
-    text-decoration: none;
32
-    padding-left: 5px;
33
-    border: 0 !important;
34
-    color: blue; }

+ 59 - 0
vendor/assets/stylesheets/jquery.json-editor.css.scss

@@ -0,0 +1,59 @@
1
+.json-editor {
2
+  background-color: #FFF;
3
+  position: relative;
4
+
5
+  .builder {
6
+    background-color: white;
7
+    overflow: auto;
8
+    font-size: 0.9em;
9
+    padding-right: 10px;
10
+
11
+    .key {
12
+      font-weight: bold;
13
+
14
+      .edit_field {
15
+        width: 80px;
16
+      }
17
+
18
+      a {
19
+        color: black;
20
+        text-decoration: none;
21
+      }
22
+    }
23
+
24
+    .val {
25
+      font-style: italic;
26
+
27
+      .edit_field {
28
+        width: 180px;
29
+      }
30
+
31
+      a {
32
+        color: black;
33
+        text-decoration: none;
34
+      }
35
+    }
36
+  }
37
+
38
+  blockquote {
39
+    margin: 0;
40
+    padding: 0;
41
+    clear: both;
42
+    padding-left: 7px;
43
+  }
44
+
45
+  div {
46
+    background-color: #cfc;
47
+    margin: 1px;
48
+    padding: 2px;
49
+  }
50
+
51
+  .icon {
52
+    display: block;
53
+    float: right;
54
+    text-decoration: none;
55
+    padding-left: 5px;
56
+    border: 0 !important;
57
+    color: blue;
58
+  }
59
+}